


use actix_web::web::ServiceConfig;
use crate::controller::menu_controller as menu;

pub(crate) fn menu_routes(service_config: &mut ServiceConfig) {
    service_config
        .service(actix_web::web::scope("/admin/menu")
            .service(menu::new_menu)
            .service(menu::update_menu)
            .service(menu::delete_menu)
        );

}
